<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<FiltronASP.Models.Language>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>

    <table>
        <tr>
            <th></th>
            <th>
                language_id
            </th>
            <th>
                language_created
            </th>
            <th>
                language_modified
            </th>
            <th>
                language_abbr
            </th>
            <th>
                language_name
            </th>
            <th>
                language_img
            </th>
            <th>
                language_created_by_id
            </th>
            <th>
                language_modified_by_id
            </th>
            <th>
                language_is_default
            </th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%= Html.ActionLink("Edit", "Edit", new { id=item.language_id }) %> |
                <%= Html.ActionLink("Details", "Details", new { id=item.language_id })%> |
                <%= Html.ActionLink("Delete", "Delete", new { id=item.language_id })%>
            </td>
            <td>
                <%= Html.Encode(item.language_id) %>
            </td>
            <td>
                <%= Html.Encode(String.Format("{0:g}", item.language_created)) %>
            </td>
            <td>
                <%= Html.Encode(String.Format("{0:g}", item.language_modified)) %>
            </td>
            <td>
                <%= Html.Encode(item.language_abbr) %>
            </td>
            <td>
                <%= Html.Encode(item.language_name) %>
            </td>
            <td>
                <%= Html.Encode(item.language_img) %>
            </td>
            <td>
                <%= Html.Encode(item.language_created_by_id) %>
            </td>
            <td>
                <%= Html.Encode(item.language_modified_by_id) %>
            </td>
            <td>
                <%= Html.Encode(item.language_is_default) %>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%= Html.ActionLink("Create New", "Create") %>
    </p>

</asp:Content>

